#ifndef GALERIA_H
#define GALERIA_H

#include <QWidget>
#include <QFileDialog>
#include <QtDebug>
#include <string>
#include <QProcess>
#include <vector>
#include <iostream>
#include <QScrollArea>
#include <QLabel>
#include <typeinfo>
#include <QPushButton>
#include <QMessageBox>


namespace Ui {
    class Galeria;
}

class Galeria : public QWidget
{
    Q_OBJECT

public:
    explicit Galeria(QWidget *parent = 0);
    ~Galeria();

    int ile;
    std::vector<std::string> vec;
    std::vector<std::string> vecMin;
    std::vector<QPixmap> vecPixmap;
    std::vector<QPushButton> vecButton;
    std::vector<QLabel*> vecLabel;
    //QString dirname;
    QDir currentDir;


    void mousePressEvent(QMouseEvent *e);

private:
    Ui::Galeria *ui;
public slots:
    void stworzGalerie();
signals:
    void wyslijSciezke(QString sciezka);


};

#endif // GALERIA_H
